﻿<%@ Page Language="C#" Inherits="My.Blog.Web.BasePage" AutoEventWireup="false" %>
<%@import namespace="System" %>
<%@import namespace="System.Threading" %>
<%@import namespace="System.Collections.Generic" %>
<%@import namespace="My.Blog.Web.Controllers" %>
<%@import namespace="My.Blog.Web" %>
<script runat="server">
/////////////////////////////////////////////////////////////////
//File: ArticleInfo.cs
//Description: 
//  Ajax 代码
//  
//Copyright© 2011 Moliu
//History:
//  2011-2-23 23:28:31    CodeSmith5.0.1    Original Version
/////////////////////////////////////////////////////////////////
    
</script>
<%
%>
<!doctype html>
<html>
<head>
  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>YaDesign--博客文章列表页</title>

    <style type="text/css">
        @import "_UI/V1/Css/Layout.css" ;
    </style>
<!--[if lte IE 6]>
    <link href="_Resources/Css/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->
    <script type="text/javascript" src="_Resources/Js/jquery.pack.js"></script>
    <script type="text/javascript" src="_Resources/Js/jquery.plugins.js"></script>
</head>
<body>
<div>
    <%
        Server.Execute("_Parts/V1/Security/Manage.aspx");
    %>
</div>
    
<div id="container">
    <div id="header">
        <% //new HeaderPrivate(); %>
    </div>

    <div id="breadcrumb">
        <% //new Breadcrumb(); %>
    </div>
    
        <!--main-->
    <div id="wrapper">
        <div id="main">
        <div id="info" class="content">
          <div class="hd">
            <h2>Portfolio</h2>
            <span>Here is some of my works and logs… :&nbsp;)</span>
          </div>
          <div class="rows">
          
            <dl id="wrap">
                <dt class="ui-tabs-nav ui-tabs-selected"><a href="#">文章</a></dt>
                <dt class="ui-tabs-nav"><a href="#">资料</a></dt>
                
                <dd class="ui-tabs-panel">
                    <div id="columnA">
                        <div><% Server.Execute("_Parts/v1/Article/new.aspx"); %></div>
                        <div><% //new ArticleList(); %></div>
                    </div>
                    
                    <div id="columnB">
                        <div><% //new CreateCategory(); %></div>
                        <div><% //new CategoryList(); %></div>
                    </div>
                </dd>
                
                <dd class="ui-tabs-panel ui-tabs-hide">
                    <% //Server.Execute("_Parts/v1/blog/Info.aspx"); %>
                </dd>
            </dl>

            <!--分页导航-->
            <!--<div class="green-black"><span class="disabled"> <  Prev</span><span class="current">1</span><a href="#?page=2">2</a><a href="#?page=3">3</a><a href="#?page=4">4</a><a href="#?page=2">Next  > </a></div>-->

          </div>
        </div>
        </div>
        <!--//main-->
        


        <!--side-->
        <div id="side">
        <div style="text-align:center;margin-top:10px">
            <!--!#include file="ad/google_200X200_pic.aspx"-->
        </div>
        <div id="linkList">
          <div class="lselect">
            <h3>Categories</h3>
            <asp:literal runat="server" id="lblBlogCatList"></asp:literal>
          </div>
          <div class="lselect">
            <h3>Calendar</h3>
            <!--日历-->
            <span id="calendar"></span>
            <div style="clear:both;height:1em"></div>
            <!--//日历-->
          </div>
          <div class="lselect">
            <h3>Message</h3>
            <asp:literal runat="server" id="lblRelationArticles"></asp:literal>
          </div>
          <div class="lselect">
            <h3>Recent Comments</h3>
            <asp:literal runat="server" id="lblRecentComments"></asp:literal>
          </div>
          <div class="lselect">
            <h3>Links</h3>
            <a href="http://hi.baidu.com/sydatum" target="_bank">http://hi.baidu.com/sydatum</a>
          </div>
        </div>
        <div style="text-align:center;margin-top:10px">
            <!--!#include file="ad/google_200X200_txt.aspx"-->
        </div>
        </div>
        <!--//side-->
        
        <div id="footer">
            <% //new Footer(); %>
        </div>
    </div>

</div>

<script type="text/javascript">
    $(function(){
        // Tabs
        var tab = new jqTabs('#wrap',{event:'click',index:0});
        
        // 绑定显示隐藏表单
        var showHandlers = $('.showHiddenForm');
        var panels = $('.hiddenForm');
        
        showHandlers.each(function(i){
            $(showHandlers[i]).click(function(){
                $(panels[i]).slideToggle('normal',function(){});
            });
        });
    });
    
</script>

</body>
</html>



